import request from '@/utils/request'

// 查询优先专家列表
export function listProjectexpertprior(query) {
  return request({
    url: '/system/projectexpertprior/list',
    method: 'get',
    params: query
  })
}

// 查询优先专家详细
export function getProjectexpertprior(id) {
  return request({
    url: '/system/projectexpertprior/' + id,
    method: 'get'
  })
}

// 新增优先专家
export function addProjectexpertprior(data) {
  return request({
    url: '/system/projectexpertprior',
    method: 'post',
    data: data
  })
}

// 修改优先专家
export function updateProjectexpertprior(data) {
  return request({
    url: '/system/projectexpertprior',
    method: 'put',
    data: data
  })
}

// 删除优先专家
export function delProjectexpertprior(id,expertSelectId) {
  return request({
    url: '/system/projectexpertprior/' + id+'/'+expertSelectId,
    method: 'delete'
  })
}
